package com.cai.xiaobai.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 调查问卷问题表
 * </p>
 *
 * @author author
 * @since 2024-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("question_info")
@Tag(name="QuestionInfo对象", description="调查问卷问题表")
public class QuestionInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "调查问卷表id")
    private Long formId;

    @Schema(description = "问题的类型1单选 2多选 3填空")
    private Integer questionType;

    @Schema(description = "问题内容")
    private String questionName;

    @Schema(description = "问题描述")
    private String questionDescribe;

    @Schema(description = "问题排序")
    private Integer questionSort;

    @Schema(description = " 是否非必填 0非必填 1必填")
    private Integer questionFlag;

    @TableField
    @Schema(description = "是否删除")
    private Integer isDelete;


}
